package com.study.samsung.Service;

import com.study.samsung.Dao.ClassificationDao;
import com.study.samsung.Entity.Classification;

import java.util.List;


public class ClassificationService {
    ClassificationDao cd = new ClassificationDao();
    public List<Classification> selectAll(){
        return cd.selectAll();
    }
    public Integer changename(Integer lid,String lname){
        return cd.changename(lid,lname);
    }
    public Integer addcategory(String lname,Integer xid){
        return cd.addcategory(lname,xid);
    }

    public Integer deladdcategory(Integer lid){
        return cd.deladdcategory(lid);
    }
}
